import java.util.Date;


public class Test2 {
	public static void main1(String args[]) {
		  String[] strs = {"cert_type","busicode","admittance_score","cert_no","mercode","name","proname","reqtime"};  
		  for (int i = 0; i < strs.length-1; i++) {   
		   for (int j =i+1; j < strs.length; j++) {
		    int intTemp = strs[i].compareToIgnoreCase(strs[j]);
		    String strTemp = "";
		    if(intTemp>0){
		     strTemp = strs[j];
		     strs[j] = strs[i];
		     strs[i] = strTemp;
		    }
		   }
		  }  
		  
		  for (int i = 0; i < strs.length; i++) {
		   System.out.println(strs[i]);
		  }
		 }
	
	public static void main(String[] args) throws InterruptedException {
		int i = 0;
		int t = 0;
		for (int k = 0; k < 300; k++) {
			i = i+1;
        	if(i >0 && i%30 == 0){
        		t = t+1;
        		Thread.sleep(3000);
        	}
        	Date d = new Date();
        	System.out.println(d+"---"+i+"--"+t);
		}
		
		
	}
}
